From: Florian Müllner Date: Wed, 29 Sep 2010 20:53:04 +0000 (+0200) Subject: messageTray: Do not show the summary when removing a source X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9703 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=109de6a356ab94feefea7506d596cb02ee3ff0a9;p=gnome-shell.git messageTray: Do not show the summary when removing a source Having the summary pop up automatically after a source icon has been removed is pretty useless ("Hey, there was something interesting going on, but you missed it and it's gone now, kthxbye"). https://bugzilla.gnome.org/show_bug.cgi?id=630939 --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index d653eabb6..7bdf2f45f 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1006,10 +1006,6 @@ MessageTray.prototype = { this._notificationQueue = newNotificationQueue; this._summary.remove_actor(this._summaryItems[index].actor); - if (this._summary.get_children().length > 0) - this._summaryNeedsToBeShown = true; - else - this._summaryNeedsToBeShown = false; this._summaryItems.splice(index, 1); if (this._longestSummaryItem.source == source) {